<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<script src="https://cdn.jsdelivr.net/npm/vue@2"></script>
	</head>
	<body>
		<div id="app">
			<div v-if="a>b">a>b</div>
			<div v-else>a小于b</div>
		</div>
		<script>
			new Vue({
				el: '#app',
				data() {
					return {
						a: 300,
						b: 700
					}
				}
			})
		</script>
	</body>
</html>
